package com.small.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.small.account.entity.UserAndRole;

import java.util.List;
import java.util.Set;

/**

 * 服务类

 *
 * @author wangguochao
 * @since 2020-01-06
 */
public interface IUserAndRoleService extends IService<UserAndRole> {

     void userAddRole(String userId, List<String> roles);

    List<UserAndRole> findByUserId(Set<String> ids);
}
